PreviousNextTracker indexSee it online !

(200/308) 1596 - PHPParser: Parse error reported incorrectly

<?php

$foo = array("one" => 1);

?>

<?php if($foo) { ?>

<?=$foo\["one"\]?>

<?php } ?>


We get a parse error on the line

<?=$foo\["one"\]?>

Says it expects a <?php.

Submitted brianlmoon - 2012-05-03 14:53:24 Assigned
Priority 5 Labels
Status open Group
Resolution None

Comments

2012-05-03 14:53:47
brianlmoon

- **summary**: Parse error reported incorrectly --> Parse error reported incorrectly (PHPParser)